MailPoet\Twig\Functions S

Total Complexity 49
Dependencies 10
Dependents 3
Total lines 364
Lines of code 300
Logical lines of code 71
Comment lines 19
Methods 29
Properties 5

Methods 29

Method Rating Maintainability Complexity Lines of code
getFunctions()
A
33 1 149
getSendingFrequency()
S
52 4 26
clickedStatsText()
S
65 3 9
statsColor()
S
66 3 9
getWooCommerceHelper()
S
71 2 6
getWPTimeFormat()
S
79 2 3
isDotcomEcommercePlan()
S
72 2 6
statsNumberFormatI18n()
S
67 2 8
installedInLastTwoWeeks()
S
66 2 8
getreferralUrlDecorator()
S
70 2 6
params()
S
68 2 7
getMailPoetPremiumVersion()
S
79 2 3
getPendingApprovalNotice()
S
71 2 6
getWPStartOfWeek()
S
79 2 3
getWPDateFormat()
S
79 2 3
getSettings()
S
71 2 6
getWp()
S
71 2 6
isDotcom()
S
81 1 3
libs3rdPartyEnabled()
S
79 1 3
addReferralId()
S
80 1 3
getDotcomHelperFunctions()
S
80 1 3
getWooCommerceVersion()
S
81 1 3
getMailPoetVersion()
S
82 1 3
isWoocommerceActive()
S
81 1 3
getFreeDomains()
S
82 1 3
getTwoLettersLocale()
S
78 1 3
isRtl()
S
81 1 3
getWPDateTimeFormat()
S
78 1 3
pendingApprovalMessage()
S
81 1 3